package com.bdzl.admin.service.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.sys.TaskDao;
import com.bdzl.pub.entity.sys.TaskDO;
import com.bdzl.admin.service.sys.TaskService;



@Service
public class TaskServiceImpl implements TaskService {
	@Autowired
	private TaskDao taskDao;
	
	@Override
	public TaskDO get(Integer taskId){
		return taskDao.get(taskId);
	}
	
	@Override
	public List<TaskDO> list(Map<String, Object> map){
		return taskDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return taskDao.count(map);
	}
	
	@Override
	public int save(TaskDO task){
		return taskDao.save(task);
	}
	
	@Override
	public int update(TaskDO task){
		return taskDao.update(task);
	}
	
	@Override
	public int remove(Integer taskId){
		return taskDao.remove(taskId);
	}
	
	@Override
	public int batchRemove(Integer[] taskIds){
		return taskDao.batchRemove(taskIds);
	}
	
}
